package my_util;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;

public interface MyStack<E> extends Iterable<E> {


    public int size();

    public boolean isEmpty();

    public E pop();

    public E getTop() ;

    public Iterator<E> iterator();

    public Object[] toArray();

    public <T> T[] toArray(T[] a);

    public boolean push(E e);

    public void clear();


}
